#PassportLogin #WDS #NodejsLogin

Node.js Passport Login System Tutorial

255,604 views255K views
13 Jul 2019
299K subscribers
Subscribed
User authentication and login is the most important feature of many websites, and most likely a key component to your next project. In this video I will be covering absolutely everything you need to know about user login and authentication in the most concise and simple way. We will be using Express for our server backend and Passport to help us manage the logged in state of users. We will also be sure to properly encrypt and hash all user passwords so that our application is completely secure. By the end of this video you will have built a fully functional login system that you can use in any of your future projects. 📚 Materials/References: GitHub Code: https://github.com/WebDevSimplified/N... Full Stack Node.js MongoDB Free Course: https://www.youtube.com/watch?v=XlvsJ... Node.js Authentication Tutorial: https://youtu.be/Ud5xKCYQTjM 🧠 Concepts Covered: - Setting up a server with Node.js and Express - Setting up Passport with Node.js and Express - How to encrypt user passwords - Restricting access to routes to only logged in users - Showing flash messages with Node.js and Express 🌎 Find Me Here: My Website: https://webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #PassportLogin #WDS #NodejsLogin
The tutorial: 40min My working time: 3h
!!This channel is seriously underrated!! I mean your content is sooo 🔥🔥🔥
205
Finally someone that's straight to the point, without stopping 2 hours every time to explain EJS or some basic stuff. THANK YOU!
160
Hy, actually I am having a TypeError at req.isAuthenticated(). Can you help with this.
First you show what we're gonna do, then you teach how to get there. Excellent! This is one of my top 5 favorite dev channels.
43
I just love the way he tells "Oops" when something goes wrong😂
Yo im glad I bumped into this channel, best tutorials, strait to the point!
41
I was feeling learning javascript/node was an impossible thing for its very versatility. After 1 hour watching your video, feel so confident I can conquer it now. Thank you!
Even though it took me 2 viewings to understand passport, I loved how complete this tutorial was, while also only focusing on the core functionality without any fluff. Thank you so much, Kyle, for valuing the viewer's time. 😊
Hey this video is great! It has helped my understanding greatly, could you do a role based authentication video using mongodb? Thanks very much
19
This is a tutorial what I need. Thank you so so much. And if anyone can't download npm bcrypt so can download npm bcriptjs and just replace const bcrypt = required("brciptjs')
17
When login happens how does it activates passport.use(new localStrategy)
Can you still be a web developer if your brain doesn't work half as fast as this guy?
I've been binging on your videos and you've helped to simplify a lot of things that just didn't click before.
This tutorial is exactly what I been expecting !!!
11:10 - Installing bcrypt 14:39 - Installing passport, passport-local, express-session, express-flash
Hey hidden gem, :D just watched this and other videos of yours concerning JWT which I found really useful, nice and concise. All great, if just you could speak a little slower :)
You are amazing! This tutorial, which I couldn't learn anything related to at my bootcamp, is crucial to my project. Thank you so much!
Thanks for the great tutorial! This is the first tutorial I used to Node.js. Great tutorials, keep it up!
Thanks for the video. I keep getting Error: Unknown authentication strategy "local"